import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router' // 引入路由配置
import axios from 'axios'  // 引入 axios

const app = createApp(App)


app.config.globalProperties.$axios = axios
app.use(ElementPlus)
app.use(router) // 注册路由

app.mount('#app')